public class Student {
	public static String studentID;
	public static String name;
	public static int age;
	public Student(String studentID,String name,int age)
	{
		this.studentID=studentID;
		this.name=name;
		this.age=age;
	}
	public static void showInfo(){
		System.out.println("学生信息：");
		System.out.println("  学号："+studentID);
		System.out.println("  姓名："+name);
		System.out.println("  年龄："+age);

	}
	public static void study(String subject){
		System.out.println(name+"正在学习"+subject+"课程");
	}
	public static void takeExam(String subject){
		System.out.println(name+"正在参加"+subject+"考试");
	}

	public static void main(String[] args) {
		Student stu=new Student("S1001","张三",18);
		stu.showInfo();
		stu.study("java");
		stu.takeExam("Python");
	}


}
